﻿using Com.JunCaiSoft.ConstructionCashFlow.Common.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.ConstructionCashFlow.Entity
{
    /// <summary>
    /// 银行结算表
    /// </summary>
    public class BankSettlement
    {
        /// <summary>
        /// 银行结算标识
        /// </summary>
        public virtual Guid Id { get; set; }
        /// <summary>
        /// 排序编号
        /// </summary>
        public virtual Int64 Num { get; set; }
        /// <summary>
        /// 银行结算编码
        /// </summary>
        public virtual String NumCode { get; set; }
        /// <summary>
        /// 结算银行标识
        /// </summary>
        public virtual Guid SettlementBankId { get; set; }
        /// <summary>
        /// 结算开始日期
        /// </summary>
        public virtual DateTime BeginTime { get; set; }
        /// <summary>
        /// 结算结束日期
        /// </summary>
        public virtual DateTime EndTime { get; set; }
        /// <summary>
        /// 结算周期
        /// </summary>
        public virtual SettlementPeriod SettlementPeriod { get; set; }
        /// <summary>
        /// 银行余额(期初)
        /// </summary>
        public virtual Double BeginBalance { get; set; }
        /// <summary>
        /// 银行余额(期末)
        /// </summary>
        public virtual Double EndBalance { get; set; }
        /// <summary>
        /// 商票期初余额
        /// </summary>
        public virtual Double BeginCommercialTicket { get; set; }
        /// <summary>
        /// 商票期末余额
        /// </summary>
        public virtual Double EndCommercialTicket { get; set; }
        /// <summary>
        /// 冻结资金（期初）
        /// </summary>
        public virtual Double BeginFreezeMoney { get; set; }
        /// <summary>
        /// 冻结资金（期末）
        /// </summary>
        public virtual Double EndFreezeMoney { get; set; }
        /// <summary>
        /// 可用余额（期初）
        /// </summary>
        public virtual Double BeginFlowBalance { get; set; }
        /// <summary>
        /// 可用余额（期末）
        /// </summary>
        public virtual Double EndFlowBalance { get; set; }
        /// <summary>
        /// 是否已结算
        /// </summary>
        public virtual Boolean IsSettlement { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateTime { get; set; }
    }
}
